package ru.lukyanets.transmission.protocol.client;

import ru.lukyanets.transmission.protocol.model.Method;

/**
 * @author slukyanets
 */
public enum TorrentAction {
    START(Method.TORRENT_START),
    START_NOW(Method.TORRENT_START_NOW),
    STOP(Method.TORRENT_STOP),
    VERIFY(Method.TORRENT_VERIFY),
    RENOUNCE(Method.TORRENT_RENOUNCE);

    private final Method<?> method;
    TorrentAction(Method<?> method){
        this.method = method;
    }

    public Method<?> getMethod() {
        return method;
    }
}
